const router = require('express').Router();
const stuModel = require('../model/stuModel');

router.get('/home', async (req, res) => {
    const ret = await stuModel.find();
    console.log(ret);
    res.render('index', {
        ret
    })

})

module.exports = router;